package com.jomoo.css.common.core.model;

import com.jomoo.css.common.core.annotation.ModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@Data
@MappedSuperclass
public abstract class ExtBaseEntity<T extends BaseEntity> extends BaseEntity {

    @Column(name = "ATTRIBUTE1", length = 240)
    @ModelProperty(comment = "ATTRIBUTE1")
    String attribute1;

    @Column(name = "ATTRIBUTE2", length = 240)
    @ModelProperty(comment = "ATTRIBUTE2")
    String attribute2;

    @Column(name = "ATTRIBUTE3", length = 240)
    @ModelProperty(comment = "ATTRIBUTE3")
    String attribute3;

    @Column(name = "ATTRIBUTE4", length = 240)
    @ModelProperty(comment = "ATTRIBUTE4")
    String attribute4;

    @Column(name = "ATTRIBUTE5", length = 240)
    @ModelProperty(comment = "ATTRIBUTE5")
    String attribute5;

    @Column(name = "ATTRIBUTE_CATEGORY", length = 36)
    @ModelProperty(comment = "扩展字段结构类型")
    String attributeCategory;

}